package org.ndx.jsg.output;

import org.apache.commons.configuration.Configuration;
import org.ndx.jsg.FileInfos;

/**
 * Provides a specific kind of output, whichever it is
 * @author ndx
 *
 */
public interface OutputProvider {
	/**
	 * Handle given file the appropriated way
	 * @param infos
	 */
	void handle(FileInfos infos);

	/**
	 * Prepare output provider according to configuration
	 * @param config
	 */
	void prepare(Configuration config);

	/**
	 * Terminate output provider according to configuration
	 * @param config
	 */
	void terminate(Configuration config);

}
